package com.wk.playersdk.util;



public class WkException extends Exception {
    private static final long serialVersionUID = 1L;
    private String errorInfo ;
    private int errorCode= -100 ;

    public WkException(String errorInfo){
        this.errorInfo = errorInfo ;
    }

    public WkException(int errorCode ,String errorInfo){
        this.errorCode = errorCode ;
        this.errorInfo = errorInfo ;
    }

    @Override
    public String toString() {
        return errorCode+" "+errorInfo;
    }
}
